<%= error_messages_for 'assignment' %>

<!--[form:assignment]-->
<table cellpadding=5 cellspacing= border=0 width=100%>
<tr>
<td><label for="assignment_assignment_template_id">Assignment Master</label><br/>
</td>
<td>
@assignments = AssignmentTemplate.find(:all, :order => "name" ).map {|u| [u.name, u.id]}%>
<% @assignments.insert(0,['-SELECT-',nil]) %>
<%= select 'assignment', 'assignment_template_id', @assignments %>	
</td>
</tr>

<tr>
<td><label for="assignment_date_of_acceptance">Acceptance Date</label>
</td>
<td>
date_select  'assignment', 'date_of_acceptance' 
</td>
</tr>

<tr>
<td><label for="assignment_target_date_of_completion">Target Completion Date</label>
</td>
<td>
date_select  'assignment', 'target_date_of_completion' 
</td>
</tr>

</table>


<!--[eoform:assignment]-->

